package com.ruoyi.system.service;

import java.util.List;

import com.ruoyi.system.domain.QxChestnutAdoptModel;
import com.ruoyi.system.domain.QxChestnutAdoptModelHistory;

import javax.servlet.http.HttpServletResponse;

/**
 * 树苗认领记录Service接口
 * 
 * @author ruoyi
 * @date 2023-08-01
 */
public interface IQxChestnutAdoptModelHistoryService 
{
    /**
     * 查询树苗认领记录
     * 
     * @param treeId 树苗认领记录主键
     * @return 树苗认领记录
     */
    public QxChestnutAdoptModelHistory selectQxChestnutAdoptModelHistoryByTreeId(Long treeId);

    /**
     * 查询树苗认领记录列表
     * 
     * @param qxChestnutAdoptModelHistory 树苗认领记录
     * @return 树苗认领记录集合
     */
    public List<QxChestnutAdoptModelHistory> selectQxChestnutAdoptModelHistoryList(QxChestnutAdoptModelHistory qxChestnutAdoptModelHistory);

    /**
     * 新增树苗认领记录
     * 
     * @param qxChestnutAdoptModelHistory 树苗认领记录
     * @return 结果
     */
    public int insertQxChestnutAdoptModelHistory(QxChestnutAdoptModelHistory qxChestnutAdoptModelHistory);


    /**
     * 导出认养记录记录
     * @param response
     * @param qxChestnutAdoptModelHistory
     */
    public void exportHistoryListToExcelService(HttpServletResponse response, QxChestnutAdoptModelHistory qxChestnutAdoptModelHistory);

}
